package cn.dodgeball.util;

import cn.dodgeball.java.BallPanel;
import cn.dodgeball.java.GamePanel;
import cn.dodgeball.java.Set;
import cn.dodgeball.java.SquarePanel;

import javax.swing.*;
import java.awt.*;

// 全局类
public class PClass {
    public static JPanel facePanel = new JPanel();                  // 主界面容器
    public static BallPanel ballPanel = new BallPanel();            // 小球容器
    public static Set set = new Set();                              // 设置面板
    public static GamePanel gamePanel = new GamePanel();            // 游戏面板
    public static SquarePanel squarePanel = new SquarePanel();      // 方块面板
    public static Point mousePosition = new Point(100, 100);  // 鼠标位置
}
